<script>
$(document).ready(function(){
	
	var c = {
		rand:'{rand}',
		init:function(){
			var str = js.getoption('userinfo'),arr,type;
			if(str){
				arr = js.decode(str)
				type='<font color="#888888">普通用户</font>';
				if(arr.type=='1')type = '<font color="green">管理员</font>';
				if(arr.type=='2')type = '<font color="red">超级管理员</font>';
				$('#namediv'+this.rand+'').html(arr.name);
				$('#jibiediv'+this.rand+'').html(type);
				$('#mobilediv'+this.rand+'').html(js.check.mobilexing(arr.mobile));
			}
		},
		close:function(){
			reim.closetabsnow();
		},
		editmobile:function(){
			js.modal.main({
				title:'修改手机号',
				width:300,height:200,
				bbar:'none',
				action:'edphoneshow',
				html:'<div id="editmobileshowdiv"></div>'
			});
			xcy.addcont('admin/editmobile','editmobileshowdiv','', function(){
				js.modal.resize('edphoneshow');
			});
		},
		editpass:function(){
			var url = xcy.openurl({url:'admin/editpass',name:'修改密码',ismobile:1});
			js.location(url);
		}
	}
	
	js.initbtn(c);
});
</script>
<div class="rock-border-b" style="line-height:40px;height:40px;overflow:hidden;display:flex" align="center">
	<div clickevt="close" style="width:30px"><i class="icon-angle-left"></i></div>
	<div style="flex:1">平台帐号</div>
	<div style="width:30px"></div>
</div>

<div class="rock-panel">
	<div class="rock-list-item rock-border-b">
		姓名
		<font class="hui"><span class="fontsize14" id="namediv{rand}"></span></font>
	</div>
	<div  class="rock-list-item rock-border-b">
		平台用户级别
		<font class="hui"><span class="fontsize14" id="jibiediv{rand}"></span></font>
	</div>
	<div clickevt="editmobile" class="rock-list-item rock-actives rock-border-b">
		手机号
		<font class="hui"><span class="fontsize14" show="mobile" id="mobilediv{rand}"></span>&nbsp;<i class="icon-angle-right"></i></font>
	</div>	
	<div clickevt="editpass" class="rock-list-item rock-actives rock-border-b">
		修改密码
		<font class="hui"><i class="icon-angle-right"></i></font>
	</div>	
</div>
